/**
 * 无数据展示
 */
import React, { Component } from 'react';
import { StyleSheet, Text, View, Image } from 'react-native';
import { px2dp } from 'rn-xiaobu-utils';

export default class FoundNoData extends Component {
  render() {
    return (
      <View style={styles.container}>
        <Image source={require('../../../../assets/img/SearchCar/nodata.png')} style={{
          width: px2dp(480), height: px2dp(296)
        }}></Image>
        <Text style={styles.text}>对不起，没有您想要的结果</Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    zIndex: 2,
    paddingTop: px2dp(100)
  },

  text: {
    marginTop: px2dp(58),
    color: '#C4CDCE'

  }
})